package org.hy.domain.ug;


import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;


/**
 * post内容，包括字符内容,图片,视频,附件路径等
 * 
 * @author xwm
 * 
 */
public class MultiContent {

	private Integer id;
	private String text;

	private String photo;// 照片的存放地址
	private String url;// 视频或其他的URL；


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	


	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String toString() {
		ToStringBuilder builder = new ToStringBuilder(this,ToStringStyle.SHORT_PREFIX_STYLE);	
		builder.append("text",text).append("photo",photo);
		return builder.toString();
	}

}
